<include file="Shared:Header" />
<body class="Bodybg">

<form id="FF">
    <div class="tools" id="tools">
        {:W('RolePerm/RolePermTop')}
    </div>
    <div class="search" id="search">
        <table border="0" id="SearchTable" class="SearchTable" cellpadding="3">
            <thead>
            <tr>
                </td><td width="70" align="right">审核专员：</td>
                <td width="180">
                    <select id="auditorId" name="auditorId">
                        <option value="-5">全部</option>
                        <volist name="auditorData" id="vo" empty="">
                            <option value="{$vo.ID}">{$vo.TrueName}</option>
                        </volist>
                    </select>
                </td>
                <td width="70" align="right">日期：</td>
                <td width="200">
                    <input id="StartTime" name="StartTime" type="text" class="easyui-datebox" data-options="width:93,editable:false" />
                    <input id="EndTime" name="EndTime" type="text" class="easyui-datebox" data-options="width:93,editable:false" />
                </td>
                <td>
                <input id="btnSearch" onclick="$.XB.search();" type="button" value="查 看">
            </tr>
            </thead>
        </table>
    </div>
    <div id="TabelContent" class="TabelContent">
        <table id="DataList"></table>
    </div>
</form>

<script type="text/javascript">
    var frozenColumns = [
        { field: 'time', title: '日期', width: 100 },
        { field: 'order', title: '申请单数', width: 80 },
    ];
    var columns = [
        { field: 'audit', title: '审核单数', width: 80 },
        { field: 'repayment', title: '还款单数', width: 60 },

        { field: 'renewal', title: '续期单数', width: 80 },
        { field: 'expect', title: '逾期单数', width: 60 },

        { field: 'expectRate', title: '逾期率', width: 80 },
        // { field: 'dayOrder', title: '测试用', width: 60 },
    ];
    $.XB.datagrid({ "frozenColumns": frozenColumns,'url':"__APP__/Loans/Sum/risks", "columns": columns});
    $.XB.enter();
</script>
{:W('RolePerm/RolePermBottom')}
</body>
<include file="Shared:Footer" />

